class Result:
    def __init__(self, data=None, code=200, message="OK"):
        self.data = data
        self.code = code
        self.message = message

    def __repr__(self):
        return f"Result(data={self.data}, code={self.code}, message='{self.message}')"

    def dict(self):
        return {
            'data': self.data,
            'code': self.code,
            'message': self.message
        }
